Carbon


IsWindowModified

Header: MacWindows.h Carbon status: Supported

Obtains the modification state of the specified window.

Boolean IsWindowModified (
    WindowRef window
);
Parameter descriptions
window

A pointer to the window whose modification state is to be obtained.

function result

true if the content of the window has been modified; otherwise, false. Newly created windows start out with their modification state automatically set to true.

DISCUSSION

Your application can use the functions IsWindowModified and SetWindowModified instead of maintaining its own separate record of the modification state of the content of a window.

VERSION NOTES

This function is available with Mac OS 8.5 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)